package com.efesco.finance.gathering;

import com.bstek.dorado.common.*;
import com.bstek.dorado.data.*;
import com.bstek.dorado.data.db.SqlDataset;
import com.bstek.dorado.view.*;
import com.bstek.dorado.view.data.*;
import com.bstek.dorado.view.control.*;
import com.bstek.dorado.view.control.table.Table;
import com.efesco.common.Tools;
import com.efesco.finance.gathering.Gathering;

/**
 * gatheringDetailViewModel
 */
public class gatheringDetailViewModel extends DefaultViewModel {
	protected void initControls()   throws Exception {
		super.initControls();
		Table table1 = (Table)this.getControl("gatheringDetailTable");
		
		DoradoContext context = DoradoContext.getContext();
		String hrInvoiceDetailId = Tools.toStr((String) context.getParameter("HR_INVOICE_DETAIL_ID"));
		String preMonth = Tools.toStr((String) context.getParameter("PRE_MONTH"));
		
		Gathering g = new Gathering();
			g.creatPaymentTable(table1,hrInvoiceDetailId);

	}
}
